package pantherlot.testing;

import static pantherlot.testing.TestUtilities.Wait;

import java.awt.Point;

public class TestingSpots 
{
	public TransparentSpotDisplay student_spot;
	public TransparentSpotDisplay faculty_spot;
	public TransparentSpotDisplay handicap_spot;
	public TransparentSpotDisplay guest_spot;
	
	public String student_parking_number= "312";
	public String faculty_parking_number= "101";
	public String handicap_parking_number= "120";
	public String guest_parking_number= "139";
	
	public TestingSpots()
	{
		student_spot = new TransparentSpotDisplay("localhost", 3738, student_parking_number);
		student_spot.start();
		
		faculty_spot = new TransparentSpotDisplay("localhost", 3738, faculty_parking_number);
		faculty_spot.start();
		
		handicap_spot = new TransparentSpotDisplay("localhost", 3738, handicap_parking_number);
		handicap_spot.start();
		
		guest_spot = new TransparentSpotDisplay("localhost", 3738, guest_parking_number);
		guest_spot.start();
		Wait();
		
		faculty_spot.DragTo(new Point(400,50));
		handicap_spot.DragTo(new Point(850,50));
		guest_spot.DragTo(new Point(400, 450));
	}
}
